package com.mycompany.user.dao;

import com.mycompany.user.entity.Permission;
import com.mycompany.user.mapper.PermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("permissionDao")
public class PermissionDaoImpl implements PermissionDao{

	@Autowired
	private PermissionMapper permissionMapper;

	public List<Permission> selectAllByParam(Map<String,Object> paMap){
		return permissionMapper.selectAllByParam(paMap);
	}
}
